package com.heima.手机屏蔽身份证查找;

public class Pingbizi {
    public static void main(String[] args) {
    String phoneNumber = "13912345678";
    String str=phoneNumber.substring(0,3);
    String end=phoneNumber.substring(7);
    String result=str+"****"+end;
    System.out.println(result);
    }

}
